<?php


/**
 * Interface IMethodWebSocket
 */
interface IMethodWebSocket
{
    public static function webSocket_onOpen(Swoole\WebSocket\Server $server, Swoole\Http\Request $request);
    public static function webSocket_message(Swoole\WebSocket\Server $server, swoole_websocket_frame $frame);
    public static function webSocket_close(Swoole\WebSocket\Server $server, $fd);
}